package mes.kanban.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 报表轮询配置（是否需要，时长）
 * @author zongrui.liu
 */
@Entity
@Table(name="MES_POLLING_CONFIG")
public class MesPollingConfig implements Serializable{
	
	private static final long serialVersionUID = -412473312692634584L;

	@Id
	@GeneratedValue(generator="uuid")
	@GenericGenerator(name="uuid",strategy="org.hibernate.id.UUIDGenerator")
	@Column(name="ID")
	private String id;
	
	/**
	 * 关联看板位置
	 */
	@Column(name="kanban_Poition")
	private String kanbanPoition;
	
	
	/**
	 * 关联的面板地址
	 */
	@Column(name="kanban_url")
	private String kanbanUrl;
	
	/**
	 * 标题字体大小
	 */
	@Column(name="head_font_size")
	private String headFontSize;
	
	/**
	 * 表格表头字体大小
	 */
	@Column(name="th_font_size")
	private String thFontSize;
	
	/**
	 * 表格内容字体大小
	 */
	@Column(name="td_font_size")
	private String tdFontSize;
	
	
	/**
	 * 设备编号
	 */
	@Column(name="device_id")
	private String deviceId;
	
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public void setKanbanPoition(String kanbanPoition) {
		this.kanbanPoition = kanbanPoition;
	}
	
	public String getKanbanPoition() {
		return kanbanPoition;
	}

	public String getKanbanUrl() {
		return kanbanUrl;
	}

	public void setKanbanUrl(String kanbanUrl) {
		this.kanbanUrl = kanbanUrl;
	}

	public String getHeadFontSize() {
		return headFontSize;
	}

	public void setHeadFontSize(String headFontSize) {
		this.headFontSize = headFontSize;
	}

	public String getThFontSize() {
		return thFontSize;
	}

	public void setThFontSize(String thFontSize) {
		this.thFontSize = thFontSize;
	}

	public String getTdFontSize() {
		return tdFontSize;
	}

	public void setTdFontSize(String tdFontSize) {
		this.tdFontSize = tdFontSize;
	}

	public String getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}
	
}
